package com.pureut.equipment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pureut.equipment.domain.InspectionItemPlan;
import com.pureut.equipment.domain.dto.InspectionItemPlanDto;
import com.pureut.equipment.domain.vo.InspectionItemPlanVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/***
 *
 * Author:点检计划mapper
 * Date:2023/04/25 10:10
 * @DESC
 */
@Mapper
public interface InspectionItemPlanMapper extends BaseMapper<InspectionItemPlan> {

    /**
     * 点检计划列表
     */
    Page<InspectionItemPlanDto> getList(@Param("inspectionItemPlanVo") InspectionItemPlanVo inspectionItemPlanVo,@Param("page") Page<InspectionItemPlanDto> page);

    /**
     * 查询点检项目时候包含点检计划
     */
    List<InspectionItemPlanDto> selectInspectionItemPlan(long id);
}
